package com.woniu.airent.dto;

import java.io.Serializable;
import java.util.Date;

/*
* 回帖表的实体类
* */

public class ReplyDto implements Serializable {
    private int replyId;
    private int fromId;
    private String fromName;
    private int  toId;
    private String toName;
    private Date time;
    private String content;
    private int isprimary;//是否为主评论 1代表是
    private int articleId;

    @Override
    public String toString() {
        return "ReplyDto{" +
                "replyId=" + replyId +
                ", fromId=" + fromId +
                ", fromName='" + fromName + '\'' +
                ", toId=" + toId +
                ", toName='" + toName + '\'' +
                ", time=" + time +
                ", content='" + content + '\'' +
                ", isprimary=" + isprimary +
                ", articleId=" + articleId +
                '}';
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getReplyId() {
        return replyId;
    }

    public void setReplyId(int replyId) {
        this.replyId = replyId;
    }

    public int getFromId() {
        return fromId;
    }

    public void setFromId(int fromId) {
        this.fromId = fromId;
    }

    public int getToId() {
        return toId;
    }

    public void setToId(int toId) {
        this.toId = toId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getIsprimary() {
        return isprimary;
    }

    public void setIsprimary(int isprimary) {
        this.isprimary = isprimary;
    }
}
